package com.bigegg.employee.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 招聘公告职位投递对象 job_post_deliver
 * 
 * @author sun
 * @date 2022-08-16
 */
public class PostDeliver extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long id;

    /** 职位ID */
    @Excel(name = "职位ID")
    private Long postId;

    /** 学生ID */
    @Excel(name = "学生ID")
    private Long deliverUserId;

    /** 简历ID */
    @Excel(name = "简历ID")
    private Long resumeId;

    /** 投递时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "投递时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date deliverTime;

    /** 状态 */
    @Excel(name = "状态")
    private Long status;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setPostId(Long postId) 
    {
        this.postId = postId;
    }

    public Long getPostId() 
    {
        return postId;
    }
    public void setDeliverUserId(Long deliverUserId) 
    {
        this.deliverUserId = deliverUserId;
    }

    public Long getDeliverUserId() 
    {
        return deliverUserId;
    }
    public void setResumeId(Long resumeId) 
    {
        this.resumeId = resumeId;
    }

    public Long getResumeId() 
    {
        return resumeId;
    }
    public void setDeliverTime(Date deliverTime) 
    {
        this.deliverTime = deliverTime;
    }

    public Date getDeliverTime() 
    {
        return deliverTime;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("postId", getPostId())
            .append("deliverUserId", getDeliverUserId())
            .append("resumeId", getResumeId())
            .append("deliverTime", getDeliverTime())
            .append("status", getStatus())
            .toString();
    }
}
